-
Home
-
Vitepos – Point of sale (POS) for WooCommerce
-
3.0.0
-
Code
-
Classes
- POS_Role
Total Complexity |
104 |
Dependencies |
10 |
Dependents |
2 |
Total lines |
674 |
Lines of code |
496 |
Logical lines of code |
333 |
Comment lines |
132 |
Methods |
27 |
Properties |
0 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
delete_item() |
A |
46 |
9 |
40 |
role_prefix() |
A |
55 |
8 |
18 |
access_data() |
S |
51 |
7 |
27 |
acl_toggle() |
S |
50 |
6 |
31 |
copy_role() |
S |
51 |
6 |
26 |
updated_role() |
S |
52 |
6 |
25 |
edit() |
S |
51 |
5 |
28 |
is_agent_status_change() |
S |
51 |
5 |
25 |
status_change() |
S |
52 |
5 |
25 |
data() |
S |
52 |
5 |
23 |
is_role_editable() |
S |
57 |
5 |
16 |
default_resources() |
S |
40 |
2 |
53 |
reset_role() |
S |
54 |
4 |
22 |
add() |
S |
58 |
4 |
16 |
reset_roles() |
S |
58 |
4 |
16 |
new_role_added() |
S |
59 |
4 |
15 |
item_details() |
S |
56 |
3 |
19 |
removed_role() |
S |
66 |
4 |
8 |
is_exists_role() |
S |
63 |
3 |
11 |
on_init() |
S |
52 |
2 |
24 |
get_action_prefix() |
S |
82 |
1 |
3 |
get_menu_title() |
S |
80 |
1 |
3 |
option_form() |
S |
77 |
1 |
4 |
get_menu_sub_title() |
S |
80 |
1 |
3 |
on_active() |
S |
72 |
1 |
6 |
get_menu_icon() |
S |
82 |
1 |
3 |
initialize() |
S |
69 |
1 |
6 |